package com.apartment.own.domain.enums;

import com.baomidou.mybatisplus.annotation.IEnum;

import java.io.Serializable;

/**
 * des. 免除几次租金
 *
 * @author :  RazaJin
 * @createDate :  2020/9/1 0001 下午 3:19
 */
public enum RentFreeEnum implements IEnum {
    /**
     *
     */
    FREE1(1, "1段免租期", 1),
    /**
     *
     */
    FREE2(2, "2段免租期", 1);

    private Integer id;
    private String name;
    private Integer select;

    RentFreeEnum(Integer id, String name, Integer select) {
        this.id = id;
        this.name = name;
        this.select = select;
    }


    @Override
    public Serializable getValue() {
        return this.id;
    }

    public Integer getSelect() {
        return select;
    }

    public void setSelect(Integer select) {
        this.select = select;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
